﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;

using WindowsGame1.Structs;
using WindowsGame1.GameComponents;

namespace WindowsGame1
{
    enum HeroClass
    {
        WARRIOR,
        THIEF,
        PRIEST,
        WIZARD
    }

    enum State
    {
        IDLE,
        WALKING,
        ATTACKING,
        HITSTUN,
        DEAD
    }
    
    class Hero : CollidableObject
    {
        public string AssetName = "SquareGuy";
        public string AttackAssetName = "SwordSlash";
        public EntityManager em;

        double attackTime = 0.0;

        State mCurrentState = State.IDLE;

        Vector2 mDirection = Vector2.Zero;
        Vector2 mSpeed = Vector2.Zero;

        KeyboardState mPreviousKeyboardState;

        Rectangle mHitBox;

        float mScale = 1.0f;

        public Texture2D mSpriteTexture;

        HeroClass mClass;

        public Hero(HeroClass hero_class)
        {
        }

    }
}
